package com.briup.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.briup.bean.Role;
import com.briup.service.RoleService;
import com.briup.mapper.RoleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 梦晓
* @description 针对表【cms_role】的数据库操作Service实现
* @createDate 2024-11-18 14:40:06
*/
@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role>
    implements RoleService{
    @Autowired
    RoleMapper roleMapper;

    @Override
    public List<Role> getAll() {
        return roleMapper.selectList(null);
    }
}




